package com.wxzhou.wangzhuan.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户提现记录明细
 */
public class WithdrawRecordResponseDto implements Serializable {

    /**
     * 提现金额，单位元
     */
    private BigDecimal amount = BigDecimal.ZERO;

    /**
     * 申请提现的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime requestTime;

    /**
     * 提现状态
     * 1：处理中
     * 2：成功
     * 3：失败
     */
    private Integer status;

    /**
     * 到账方式,支持：微信提现、支付宝、银行卡邓。默认是微信提现
     */
    private String receiveType = "微信提现";


    /**
     * 提现备注
     */
    private String remark;

    public WithdrawRecordResponseDto() {
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public LocalDateTime getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(LocalDateTime requestTime) {
        this.requestTime = requestTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(String receiveType) {
        this.receiveType = receiveType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
